<div class="g-hd">
    <div class="m-head g-fluid">
        <div class="g-xs4" ng-bind-html="back"></div>
        <div class="g-xs4"><div class="tt">修改资料</div></div>
        <div class="g-xs4 f-tar" ng-bind-html="next"></div>
    </div>
</div>
<div class="g-ct">
    <div class="m-mine">
        <form name="js_form" ng-submit="detail()">
          <dl class="detail">
              <dd><span>我的头像</span>
                  <a href="javascript:;" ngf-select ngf-change="upload($files)">
                      <div class="avatar"><img ngf-src="files[0]" ngf-default-src="http://placehold.it/50x50/7ecdc5/fff" ngf-accept="'image/*'" alt=""/></div>
                      <i class="icon-font arrow" title="arrow">&#xe600;</i>
                  </a>
              </dd>
              </dl>
          <dl class="detail">
              <dd><span>昵称</span>
                  <a href="javascript:;" ng-click="edit=true" ng-hide="edit">
                      {{user.nickname}}&nbsp;
                      <i class="icon-font arrow" title="arrow">&#xe600;</i>
                  </a>
                  <input class="ipt" type="text" ng-model="user.nickname" ng-show="edit"/>
              </dd>
              <dd><span>性别</span>
                  <a href="javascript:;" ng-click="edit=true" ng-hide="edit">
                      <em ng-if="user.sex==0">男</em>
                      <em ng-if="user.sex==1">女</em>&nbsp;
                     <i class="icon-font arrow" title="arrow">&#xe600;</i>
                  </a>
                  <div class="group" ng-show="edit">
                      <input type="radio" ng-model="user.sex" value="0"/>男
                      <input type="radio" ng-model="user.sex" value="1"/>女
                  </div>
              </dd>
              </dl>
          <dl class="detail">
          <dd><span>活跃商圈</span>
              <a href="javascript:;" ng-click="edit=true" ng-hide="edit">
                  {{user.regionName}}&nbsp;
                 <i class="icon-font arrow" title="arrow">&#xe600;</i>
              </a>
              <select class="choice" name="regionId" ng-model="user.regionId" ng-show="edit">
                  <option value="regionId">-------------------</option>
                  <option value="regionId">{{user.regionName}}</option>
              </select>
          </dd>
          <dd><span>生日</span>
              <a href="javascript:;" ng-click="edit=true" ng-hide="edit">
                  {{user.birthday}}&nbsp;
                  <i class="icon-font arrow" title="arrow">&#xe600;</i>
              </a>
              <input type="text" class="ipt" ng-model="user.birthday" ng-show="edit"/>
          </dd>
          <dd><span>职业</span>
              <a href="javascript:;" ng-click="edit=true" ng-hide="edit">
                  {{user.job}}&nbsp;
                  <i class="icon-font arrow" title="arrow">&#xe600;</i>
              </a>
              <select class="choice" name="position" ng-model="user.job" ng-show="edit">
                  <option value="positionId">-------------------</option>
                  <option value="positionId">{{positionName}}</option>
              </select>
          </dd>
          </dl>
          <dl class="detail">
          <!--ng-click="loginPw()"-->
          <dd><span>修改登录密码</span>
              <a href="#/loginpw">
                  &nbsp;
                  <i class="icon-font arrow" title="arrow">&#xe600;</i>
              </a>
          </dd>
          <!--ng-click="payPw()"-->
          <dd><span>修改支付密码</span>
              <a href="#/paypw">
                  &nbsp;
                  <i class="icon-font arrow" title="arrow">&#xe600;</i>
              </a>
          </dd>
          </dl>
            <div class="opt">
                <button type="button">退出当前账号</button>
            </div>
        </form>
    </div>
</div>